home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / fbpatch.zip / INSTALL.SCR < prev    next >
Text File  |  1993-01-13  |  3KB  |  106 lines

  1. clear
  2. space %1: 12000 NoSpace
  3.  
  4. echo The install program will now copy 
  5. echo Front Page Sports Football to your hard drive.
  6. echo Approximate hard drive space required:  12 Megs
  7. echo
  8. echo Do you wish to (C)ontinue or (E)xit?
  9. pick ce Continue Exit
  10.  
  11. :Continue
  12. clear
  13. %1:
  14. godir %4 CantCreate
  15.  
  16. echo Copying Startup Files ...
  17.  
  18. md xtapes > nul
  19. md ltapes > nul
  20. md team > nul
  21. md pb > nul
  22.  
  23. exists %2:RESOURCE.000 Please insert the disk labeled "Disk 1" in drive %2:.
  24. echo Copying Game files...
  25.  
  26. copy %2:*.*           
  27. echo %3 >resource.cfg
  28.  
  29. echo Processing %2:resource.000 ...
  30. unchunk RESOURCE.000 . > nul
  31. if ERRORLEVEL 1 goto BadChunk
  32. del RESOURCE.000
  33.  
  34. exists %2:RESOURCE.001 Please insert the disk labeled "Disk 2" in drive %2:.
  35. copy %2:RESOURCE.001 
  36. echo Processing %2:resource.001 ...
  37. unchunk RESOURCE.001 . > nul
  38. if ERRORLEVEL 1 goto BadChunk
  39. del RESOURCE.001
  40.  
  41. exists %2:RESOURCE.002 Please insert the disk labeled "Disk 3" in drive %2:.
  42. copy %2:RESOURCE.002 
  43. echo Processing %2:resource.002 ...
  44. unchunk RESOURCE.002 . > nul
  45. if ERRORLEVEL 1 goto BadChunk
  46. del RESOURCE.002
  47.  
  48. del UNCHUNK.EXE
  49.  
  50. clear
  51. echo
  52. echo  To play NOW:
  53. echo     Type HIKE and press [ENTER].
  54. echo
  55. echo  To play LATER:
  56. echo     From the root directory of %1:
  57. echo     Type CD %4 and press [ENTER], then
  58. echo     Type HIKE and press [ENTER].
  59. echo
  60. pause
  61. end
  62.  
  63. :NoSpace
  64. clear
  65. echo
  66. alert There is not enough space on %1: to install Front Page Sports Football on your hard drive.  12 Megabytes of disk space are necessary.
  67. end
  68.  
  69. :CantCreate
  70. clear
  71. echo
  72. alert Unable to create directory %4
  73. end
  74.  
  75. :BadChunk
  76. if ERRORLEVEL 6 goto ERR6
  77. if ERRORLEVEL 5 goto ERR5
  78. if ERRORLEVEL 4 goto ERR4
  79. if ERRORLEVEL 3 goto ERR3
  80. if ERRORLEVEL 2 goto ERR2
  81. if ERRORLEVEL 1 goto ERR1
  82. alert Unable to extract resource file.  Please run install again.
  83. end
  84.  
  85. :ERR1
  86. alert Unable to read resource file.  Make sure the drive door is shut and run install again.
  87. end
  88. :ERR2
  89. alert Unable to write resource file to hard drive.  This program only installs games on hard drives.  Run install again.  If you get this message again you may have a problem with your hard drive.
  90. end
  91. :ERR3
  92. alert Not enough memory to run extraction program.  The extraction program needs a minimum of 550k to operate.
  93. end
  94. :ERR4
  95. alert The resource file is bad.  Run install again.  If you get this message again, you probably received a bad disk.
  96. end
  97. :ERR5
  98. alert Unable to open the resource file for reading.  A possible solution might be to increase the value of the FILES setting in your CONFIG.SYS file.
  99. end
  100. :ERR6
  101. alert Unable to open the target file for writing.  A possible solution might be to increase the value of the FILES setting in your CONFIG.SYS file.
  102. end
  103.  
  104. :exit
  105. end
  106.